home *** CD-ROM | disk | FTP | other *** search
-
-
-
- mmmmeeeemmmmlllleeeeaaaakkkk((((1111MMMM)))) mmmmeeeemmmmlllleeeeaaaakkkk((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- memleak - IRIX system memory leak utility
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- mmmmeeeemmmmlllleeeeaaaakkkk [ namelist ] [----ffff outfile] [----nnnn sample ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- mmmmeeeemmmmlllleeeeaaaakkkk is a utility that generates a report describing possible memory
- leaks in the operating system.
-
- It is intended to be used only by those involved in writing and debugging
- device drivers or other parts of the kernel. There are times when zone
- memory growth is normal. Someone involved with writing and debugging
- kernel or device driver modules will know when the growth is normal.
-
- _n_a_m_e_l_i_s_t contains symbol table information needed for symbolic access to
- the system memory image being examined. The default _n_a_m_e_l_i_s_t is ////uuuunnnniiiixxxx.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----ffff _f_i_l_e_n_a_m_e Writes any generated output to _f_i_l_e_n_a_m_e.
-
- ----nnnn _s_a_m_p_l_e Sample each zone _s_a_m_p_l_e number of times.
-
- ----hhhh Prints a usage message.
-
- If no arguments are given, the _m_e_m_l_e_a_k report is written to /tmp/memleak
- with ////uuuunnnniiiixxxx as the namelist and ////ddddeeeevvvv////mmmmeeeemmmm as the memory device. 100 samples
- of each memory zone are taken. The memory device must match the
- namelist. If a different kernel is used to boot the system (as when using
- _b_o_o_t_p(1M)), the _n_a_m_e_l_i_s_t must be the kernel used to boot with, which
- would match the /_d_e_v/_m_e_m device.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- memleak unix.65m -f memoryleaks
-
- memleak
-
- memleak -f outputfile
-
- memleak /unix
-
- memleak /unix -f outputfile -n numberofsamples
-
- All arguments are optional.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE OOOOUUUUTTTTPPPPUUUUTTTT
- The following output shows a report where there
- is a definite leak in the Sessions structure.
- The Sessions structure size is 96 bytes, so
- _k_m_e_m__s_p_l_i_t__z_o_n_e was set to 96. There
- may also be other memory leaks in the size 64
- zones, so kmem_split_zone may be set to 64
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- mmmmeeeemmmmlllleeeeaaaakkkk((((1111MMMM)))) mmmmeeeemmmmlllleeeeaaaakkkk((((1111MMMM))))
-
-
-
- to make those structures private.
-
-
- ZONE a800000000cde6c0 may be leaking.
- First sample 8 pages, Last sample 47 pages
-
- ZONE NAME SIZE TOTAL FREE PAGES NODE INDEX
- ======================================================================
- a800000000cde6c0 size 64 64 12032 255 47 0 3
- ZONE_TYPE = 3 "Heap 64" "mld" "Vsem" "imondata" "xfs_ifork"
- "Virtual proce" "pfile" "vpgrp struct" "vsession stru" "Vshm"
- "child pids"
-
-
-
- ZONE a800000100a202c0 may be leaking.
- First sample 4 pages, Last sample 14 pages
-
- ZONE NAME SIZE TOTAL FREE PAGES NODE INDEX
- ======================================================================
- a800000100a202c0 size 64 64 3584 246 14 1 3
- ZONE_TYPE = 3 "Heap 64" "mld" "Vsem" "imondata" "xfs_ifork"
- "Virtual proce" "pfile" "vpgrp struct" "vsession stru" "Vshm"
- "child pids"
-
-
-
- ZONE a800000000df9980 may be leaking.
- First sample 9 pages, Last sample 82 pages
-
- ZONE NAME SIZE TOTAL FREE PAGES NODE INDEX
- ======================================================================
- a800000000df9980 Sessions 96 13994 106 82 -1 0
- ZONE_TYPE = 2
-
-
- 100 samples were taken from 55 zones.
-
- NNNNOOOOTTTTEEEESSSS
- Some samples may fail if there is a shortage of swap space on the system.
- The _m_e_m_l_e_a_k tool was developed to detect _p_o_s_s_i_b_l_e memory leaks in the
- operating system. It should be used in conjunction with detailed
- analysis of the subsystems/structures it identifies. At times, heavy
- memory usage is normal.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- kmem_debug(1M), bootp(1M)
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-